const { Schema, model } = require('mongoose');
//设置集合结构
const claimsSchema = new Schema({
    applyDate: String,
    troubleDate: String,
    claimsImages: String,
    order: String,
    state: {
        type: String,
        default: 1
    }
}, { versionKey: false })

//设置集合模型
module.exports.claimsModel = model('claimsModel', claimsSchema, 'claims')

